package com.hehua.FlyweightPattern;

/**
 * 围棋棋子类,充当抽象享元类
 */
public abstract class IgoChessman {
    public abstract String getColor();

    public void disPlay() {
        System.out.println("棋子颜色" + this.getColor());
    }
}
